package com.exercise.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.exercise.dao.UserDao;
import com.exercise.model.User;
import com.exercise.service.UserService;


@Service
public class UserServiceImpl implements UserService{

	@Resource
	private UserDao userDao;
	

	@Override
	public int saveUser(User user) {
		
		return userDao.saveUser(user);
		
	}
	

}
